package com.woniu.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class HotListDTO {
    private Long id;
    private  String userName;
    private String content;

    private Long initiator;

   private Integer roleId;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
    private Date startTime;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
    private Date endTime;

    private String place;

    private String picture;

private  Date createTime;




}
